package com.zhang.goods.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhang.goods.dto.SpuSearchDto;
import com.zhang.goods.entity.SpuInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * spu商品信息表 服务类
 * </p>
 *
 * @author 创世神
 * @since 2023-10-04
 */
public interface ISpuInfoService extends IService<SpuInfo> {

    Page getMySpuListPage(Integer pageNum, Integer pageSize, SpuSearchDto spuSearchDto);

    Page getSpuPageByQ(Integer pageNum, Integer pageSize, QueryWrapper<SpuInfo> wrapper);

    List<SpuInfo> listFromUpStatus();
}
